'use strict';

angular.module('com.dcos.app').config(function ($stateProvider, $urlRouterProvider) {

	$urlRouterProvider.when('', '/login');
	//$urlRouterProvider.when('', '/projectcenter');
	$urlRouterProvider.when('/', '/overview');
	$urlRouterProvider.otherwise('/notFound');

	// 所有模块的入口路由，login和dashboard除外
	$stateProvider.state('app', {
		template: '<layout-menu></layout-menu><div class="main-wrapper"><layout-header></layout-header><div class="main" ui-view></div></div>'
	});

});
